package com.sky.mapper.admin;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sky.entity.SetmealDish;
import com.sky.vo.SetmealVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SetmealDishMapper extends BaseMapper<SetmealDish> {

    List<SetmealVO> getSetmealListBydishId(List<Long> idList);

    void addsetmealDishByList(List<SetmealDish> setmealDishList);

    List<SetmealDish> getSetmealDishInfoBysetmealId(Long id);

    int removeSetmealDishBySetmealId(Long id);

    int getEnableSetmealDishCountBySetmealId(Long id);
}
